<div class="action-dialog-model-fixed-body">
    <div class="detailsBox">
        <h3>紧急联系人</h3>
        <form action="<@url value='/contactsInfo/save'/>" method="post" name="management_td_info_add"
              class="action-ajax-form action-ajax-form-valid">
            <div class="detaiTab">
                <input id="contactsId" type="hidden" value="${contactsInfo.id}" name="contactsId">
                <input id="loanapplyNo" type="hidden" value="${loanapplyNo}" name="loanapplyNo">
                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                    <tbody>
                    <tr>
                        <td width="15%" align="right" class="bg"><font color="red">*</font>姓名：</td>
                        <td>
                            <input type="text" id="tdYear" size="30" name="contactsName"
                                   class="action-valid-field" data-action-valid-rule="required;maxlength:50;"
                                   data-action-valid-msg-required="姓名不能为空" value="${contactsInfo.contactsName}"/>
                            <span class="action-field-error" for="tdYear" style="color:red;"></span>
                        </td>
                        <td width="15%" align="right" class="bg"><font color="red">*</font>与借款人关系：</td>
                        <td width="35%">
                            <@select dataSouceType="YJKRGX" value="${contactsInfo.type}" id="netPrice"   name="type"/>
                            <span class="action-field-error" for="netPrice" style="color:red;"></span>
                        </td>
                    </tr>
                    <tr>
                        <td width="15%" align="right" class="bg"><font color="red">*</font>联系电话：</td>
                        <td colspan= "3">
                            <input type="text" id="homePhone" size="30" name="homePhone"
                                   class="action-valid-field"
                                   data-action-valid-rule="required;number;maxlength:21;reg:^\d*$|^(\d+(\.\d{1,2})*)$;"
                                   data-action-valid-msg-required="联系电话不能为空！" autocomplete="off" value="${contactsInfo.homePhone}"/>
                            <span class="action-field-error" for="homePhone" style="color:red;"></span>
                        </td>

                    </tr>
                    <tr>
                        <td width="15%" align="right" class="bg">联系地址：</td>
                        <td colspan= "3">
                            <input type="text" id="address" size="30" name="address" value="${contactsInfo.address}"/>
                        </td>

                    </tr>
                    </tbody>
                </table>
            </div>

            <div class="clearfix tac mtb20">
                <input type="submit" class="btn_auto_30 btn_blue" value="保存">
            </div>
        </form>
    </div>
</div>